package com.xjgc.sap.ws.service;

import com.xjgc.common.config.DbConn;
import com.xjgc.sap.ws.dao.ZxjEip2Cpzsninfo;
import com.xjgc.sap.ws.dao.ZxjEip2Cvbelnops;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * EIP定期处理数据
 * @author Administrator
 *
 */
@Service
public class ZxjEip2CService {

	@Autowired
	DbConn db;
	@Autowired
	ZxjEip2Cpzsninfo zxjEip2Cpzsninfo;
	@Autowired
	ZxjEip2Cvbelnops zxjEip2Cvbelnops;

	//屏柜与装置SN号关联关系
	public void update2CpzsnData() {
		zxjEip2Cpzsninfo.update(db);
	}
	//检查销售订单中 -国网采购订单执行状态，并更新
	public void update2CvbelnData() {
		zxjEip2Cvbelnops.update(db);
	}
}
